<?php
$this->pageTitle = Yii::t('view', 'Daftar Badan Usaha');
$this->breadcrumbs=array(
	Yii::t('view', 'Peta') => array('site/map'),
	Yii::t('view', 'Daftar Badan Usaha'),
);
?>
<div class="container">
    <div class="row">
        <div class="col-md-12">     
            <div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title"><?php echo Yii::t('view','Daftar Badan Usaha');?></h3>
              </div>
              <div class="panel-body">
                <?php $this->widget('booster.widgets.TbGridView',array(
                    'id'=>Yii::app()->controller->id.'-grid',
                    'type' => 'striped bordered condensed',
                    'dataProvider' => $model->search(),
                    'filter' => $model,
                    'responsiveTable' => true,
                    'columns' => array(
                                array(
                                    'name' => 'perusahaan_id',
                                    'value' => '($data->perusahaan) ? $data->perusahaan->nama_perusahaan : "-"',
                                ),array(
                                        'name' => 'izin_kategori_id',
                                        'value' => '($data->izinKategori) ? $data->izinKategori->jenis_izin: "-"',
                                ),array(
                                        'name' => 'lokasi',
                                        'value' => '($data->lokasi) ? $data->lokasi : "-"',
                                ),array(
                                        'name' => 'provinsi_id',
                                        'value' => '($data->provinsi) ? $data->provinsi->nama : "-"',
                                ),array(
                                        'name' => 'status_izin',
                                        'value' => '($data->status_izin) ? $data->status_izin : "-"',
                                ),
            ),
                )); 
                ?>
              </div>
            </div>
        </div>
    </div>